import Vue from 'vue'
import VueRouter from 'vue-router'
import MyGoodsList from '@/views/three/MyGoodsList'
import MyGoodsSearch from '@/views/three/MyGoodsSearch'
import MyUserInfo from '@/views/three/MyUserInfo'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    redirect: '/mygoodslist'
  },
  {
    path: '/mygoodslist',
    name:'MyGoodsList',
    component:MyGoodsList
  },
  {
    path: '/mygoodssearch',
    name:'MyGoodsSearch',
    component:MyGoodsSearch
  },
  {
    path: '/myuserinfo',
    name:'MyUserInfo',
    component:MyUserInfo
  }
]
 const router = new VueRouter({
  routes
 })
 export default router